package com.cherish.pattern.factory.methodf;

import com.cherish.pattern.factory.model.Laptop;

/**
 * @Classname TestMethodFactory
 * @Date 2019/4/7 11:20
 * @Author admin
 * @Description TODO
 */
public class TestMethodFactory {

    public static void main(String[] args) {
        LaptopFactory factory = new AlienwareLaptopFactory();
        Laptop laptop = factory.getLaptop();
        laptop.getInfo();
    }

}
